import request from '@/utils/request';

// 应付单列表
export function List(params) {
	return request({
		url: '/finance/financeSettleAccounts/list',
		method: 'get',
		params,
	});
}
export const ExportFile = '/finance/financeSettleAccounts/export';

// 开票新增
export function settleInvoiceAdd(data) {
    return request({
        url: "/finance/settleInvoice",
        method: "post",
        data,
    });
}

// 开票详情
export function settleInvoiceDetail(settleId) {
    return request({
        url: `/finance/settleInvoice/detail/${settleId}`,
        method: "get",
    });
}
